import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { RouterModule } from '@angular/router';

import { FinderSharedModule } from 'app/shared';
import {
    TemporaryPositionComponent,
    TemporaryPositionDetailComponent,
    TemporaryPositionUpdateComponent,
    TemporaryPositionDeletePopupComponent,
    TemporaryPositionDeleteDialogComponent,
    temporaryPositionRoute,
    temporaryPositionPopupRoute
} from './';

const ENTITY_STATES = [...temporaryPositionRoute, ...temporaryPositionPopupRoute];

@NgModule({
    imports: [FinderSharedModule, RouterModule.forChild(ENTITY_STATES)],
    declarations: [
        TemporaryPositionComponent,
        TemporaryPositionDetailComponent,
        TemporaryPositionUpdateComponent,
        TemporaryPositionDeleteDialogComponent,
        TemporaryPositionDeletePopupComponent
    ],
    entryComponents: [
        TemporaryPositionComponent,
        TemporaryPositionUpdateComponent,
        TemporaryPositionDeleteDialogComponent,
        TemporaryPositionDeletePopupComponent
    ],
    schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class FinderTemporaryPositionModule {}
